package com.zwj.mapper;

import com.zwj.bo.SelectWorkSubmitInfoBo;
import com.zwj.bo.WorkSubmitBo;
import com.zwj.dto.ReturnParameters;
import com.zwj.dto.SelectClassQuery;
import com.zwj.dto.SelectWorkSubmitInfoQuery;
import com.zwj.entity.WorkSubmitInfoEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zwj.vo.SelectWorkInfoVo;
import com.zwj.vo.SelectWorkSubmitInfoVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 * 作业提交信息表 Mapper 接口
 * </p>
 *
 * @author zwj
 * @since 2021-07-21
 */
@Mapper
public interface WorkSubmitInfoMapper extends BaseMapper<WorkSubmitInfoEntity> {

    List<Object> selectWorkInfo(SelectWorkSubmitInfoQuery selectWorkSubmitInfoQuery);

    ReturnParameters returnParameters(Long id);

    Integer addWorkInfoAnswer(Long workId, String remark, Long id, String workStatus, String completeTime);

    Integer tWorkInfoAnswer(SelectWorkSubmitInfoBo selectWorkSubmitInfoBo);

    WorkSubmitBo showHomeworkAnswerStudent(Long workId);

    WorkSubmitBo showHomeworkScoreStudent(Long workId);
 }

